<template>
	<view id="downguide" class="downguide" v-if="show" @tap="show = false">
		<view class="guide-box">
			<view class="guide-content">
				<text>1. 点击右上角</text>
				<image src="@/public/images/index/sd.png" mode="aspectFit"></image>
				<text>按钮</text>
			</view>
			<view class="guide-content top">
				<text>2. 选择</text>
				<image src="@/public/images/index/llq.png" mode="aspectFit"></image>
				<text>在浏览器打开</text>
			</view>
		</view>
	</view>
</template>

<script>
	/**
	 * DownGuide 下载引导
	 * @description 引导用户下载APP
	 */
	export default {
		name:"DownGuide",
		data() {
			return {
				show: true
			};
		},
		methods: {
			//关闭
			close() {
				this.show = false
			},
			//打开
			load() {
				this.show = true
			}
		}
	}
</script>

<style lang="scss">
	.downguide{
		z-index: 1000;
		position: fixed;
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
		max-width: $max-width;
		margin: $pc-margin;
		background-color: rgba(0, 0, 0, 0.8);
		.guide-box{
			margin: 30rpx 45rpx 0;
			padding: 356rpx 0 41rpx 108rpx;
			background-image: url("~@/public/images/index/jt.png");
			background-size: 100%;
			background-repeat: no-repeat;
			background-position: center;
			.guide-content{
				display: flex;
				flex-direction: row;
				align-items: center;
				text{
					font-size: 32rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #FFFFFF;
					line-height: 64rpx;
				}
				image{
					width: 64rpx;
					height: 64rpx;
					margin: 0 35rpx;
				}
				&.top{
					margin-top: 35rpx;
				}
			}
		}
	}
</style>